package com.woniuxy.commons.entity.purchaseManager.base;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName PageResult
 * @Description 分页结果封装对象
 * @Author xianhao
 * @Date 2022/4/24 17:54
 * @Version 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PageResult<T> implements Serializable {
    /**
     * 总记录数
     */
    private Long total;
    /**
     * 当前页结果
     */
    private List<T> rows;
}
